tree model sort: Fix set_sort_column
authorMatthias Clasen <mclasen@redhat.com>
Tue, 16 Jan 2018 23:16:21 +0000 (18:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 16 Jan 2018 23:17:54 +0000 (18:17 -0500)
commite2f3b9b1cceb11d5759cc004a5e6fc49d20e1b07
tree54909cbfd6a3a7cfee015deeddff66034c3e23c7
parent42369e31e2ed127abac6a9cd06ac64e27a6e398b
tree model sort: Fix set_sort_column

We were failing to change the sort order for the
default sort column in some cases. Fix that, and
add a testcase for this issue.

https://bugzilla.gnome.org/show_bug.cgi?id=792459

Add a testcase for the previous fix
gtk/gtktreemodelsort.c
testsuite/gtk/sortmodel.c